package com.ruoyi.shop.idle.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 闲置物品对象 idle
 * 
 * @author yjy
 * @date 2025-06-09
 */
public class Idle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 闲置id */
    private Long idleId;

    /** 闲置名称 */
    @Excel(name = "闲置名称")
    private String idleName;

    /** 闲置图片 */
    @Excel(name = "闲置图片")
    private String images;

    /** 闲置价格 */
    @Excel(name = "闲置价格")
    private BigDecimal price;

    /** 闲置描述 */
    @Excel(name = "闲置描述")
    private String description;

    /** 发布人id */
    @Excel(name = "发布人id")
    private Long userId;

    /** 发布人名称 */
    @Excel(name = "发布人名称")
    private String username;

    /** 自定义联系信息 */
    @Excel(name = "自定义联系信息")
    private String information;

    /** 分类id */
    @Excel(name = "分类id")
    private Long type;

    /** 库存 */
    @Excel(name = "库存")
    private Long store;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long views;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 商品类型 */
    private String idleType;

    /** 开始时间（用于范围查询） */
    private String beginTime;

    /** 结束时间（用于范围查询） */
    private String endTime;

    public String getIdleType() {
        return idleType;
    }

    public void setIdleType(String idleType) {
        this.idleType = idleType;
    }

    public void setIdleId(Long idleId)
    {
        this.idleId = idleId;
    }

    public Long getIdleId() 
    {
        return idleId;
    }

    public void setIdleName(String idleName) 
    {
        this.idleName = idleName;
    }

    public String getIdleName() 
    {
        return idleName;
    }

    public void setImages(String images) 
    {
        this.images = images;
    }

    public String getImages() 
    {
        return images;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setInformation(String information)
    {
        this.information = information;
    }

    public String getInformation() 
    {
        return information;
    }

    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    public void setStore(Long store) 
    {
        this.store = store;
    }

    public Long getStore() 
    {
        return store;
    }

    public void setViews(Long views) 
    {
        this.views = views;
    }

    public Long getViews() 
    {
        return views;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("idleId", getIdleId())
            .append("idleName", getIdleName())
            .append("images", getImages())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("userId", getUserId())
            .append("username",getUsername())
            .append("information", getInformation())
            .append("type", getType())
            .append("store", getStore())
            .append("views", getViews())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
                .append("idleType",getIdleType())
            .toString();
    }
}
